package org.spring.cloud.service;


import org.spring.cloud.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value="${spring.application.name}")
//@FeignClient(value="user-server-dev")
public interface SeckillService {
	
	@GetMapping(value="/secikllRush",produces={"application/json; charset=UTF-8"})
	Result<Boolean> secikllRush(@RequestParam("userId") Long userId,@RequestParam("seckllId") Long seckllId);
}
